home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 13288 / 13288.xpi / content / preference.xul < prev    next >
Extensible Markup Language  |  2010-01-21  |  28KB  |  535 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3. <?xml-stylesheet href="chrome://global/skin/notification.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://supertabmode/skin/prefs.css" type="text/css"?>
  5.  
  6. <!DOCTYPE prefwindow SYSTEM "chrome://supertabmode/locale/preference.dtd">
  7. <prefwindow id="stm.prefwindow"
  8.             title="&prefwindow.title;"
  9.             buttons="accept,cancel,extra2"
  10.             buttonlabelextra2="&prefwindow.reset;"
  11.             ondialogextra2="stmPref.onReset();"
  12.             onload="stmPref.onLoad();"
  13.             ondialogaccept="stmPref.onOK();"
  14.             ondialogcancel="stmPref.setPane1SelectedTab();"
  15.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  16.   <script type="application/x-javascript" src="preference.js" />
  17.   <script type="application/x-javascript" src="common.js" />
  18.  
  19.   <stringbundleset>
  20.     <stringbundle id="stm.prefstringmanager" src="chrome://supertabmode/locale/stm.properties" />
  21.   </stringbundleset>
  22.  
  23.   <broadcasterset>
  24.     <broadcaster id="b.pagelock.enable"/>
  25.     <broadcaster id="b.block.enable"/>
  26.     <broadcaster id="b.bosskey.enable"/>
  27.     <broadcaster id="b.cachedisk.enable"/>
  28.   </broadcasterset>
  29.  
  30.   <prefpane id="pane1"
  31.             label="&pane1.title;"
  32.             image="chrome://supertabmode/skin/pref24_1.png">
  33.     <preferences>
  34.       <preference id="p.openURLBarInNewTab" name="extensions.stm.openURLBarInNewTab" type="bool"/>
  35.       <preference id="p.openBHSInNewTab" name="extensions.stm.openBHSInNewTab" type="bool" onchange="stmPref.syncOpenBHSInNewTab();"/>
  36.       <preference id="p.openInBlankTab" name="extensions.stm.openInBlankTab" type="bool"/>
  37.       <preference id="p.browser.tabs.loadBookmarksInBackground" name="browser.tabs.loadBookmarksInBackground" type="bool"/>
  38.       <preference id="p.doubleClickRemoveTab" name="extensions.stm.doubleClickRemoveTab" type="bool"/>
  39.       <preference id="p.showCloseRightTabs" name="extensions.stm.showCloseRightTabs" type="bool"/>
  40.       <preference id="p.showCloseLeftTabs" name="extensions.stm.showCloseLeftTabs" type="bool"/>
  41.       <preference id="p.newTabPosition" name="extensions.stm.newTabPosition" type="int"/>
  42.       <preference id="p.newTabPosBackTabOnly" name="extensions.stm.newTabPosBackTabOnly" type="bool"/>
  43.       <preference id="p.tabBarPosition" name="extensions.stm.tabBarPosition" type="int"/>
  44.       <preference id="p.newTabBtnPos" name="extensions.stm.newTabBtnPos" type="int"/>
  45.       <preference id="p.tabBarMultiRows" name="extensions.stm.tabBarMultiRows" type="bool"/>
  46.       <preference id="p.tabBarTabMinWidth" name="browser.tabs.tabMinWidth" type="int"/>
  47.       <preference id="p.browser.tabs.closeWindowWithLastTab" name="browser.tabs.closeWindowWithLastTab" type="bool"/>
  48.       <preference id="p.focusAfterCloseTab" name="extensions.stm.focusAfterCloseTab" type="int"/>
  49.       <preference id="p.browser.tabs.closeButtons" name="browser.tabs.closeButtons" type="int"/>
  50.       <preference id="p.showHistoryMenu" name="extensions.stm.showHistoryMenu" type="bool"/>
  51.       <preference id="p.historyMenuEntries" name="browser.sessionstore.max_tabs_undo" type="int"/>
  52.       <preference id="p.historyButtonShape" name="extensions.stm.historyButtonShape" type="int"/>
  53.       <preference id="p.browser.link.open_newwindow" name="browser.link.open_newwindow" type="int"/>
  54.       <preference id="p.browser.link.open_newwindow.restriction" name="browser.link.open_newwindow.restriction" type="int"/>
  55.       <preference id="p.browser.tabs.loadDivertedInBackground" name="browser.tabs.loadDivertedInBackground" type="bool"/>
  56.       <preference id="p.urlbarListFontSize" name="extensions.stm.urlbarListFontSize" type="int"/>
  57.       <preference id="p.browser.urlbar.maxRichResults" name="browser.urlbar.maxRichResults" type="int"/>
  58.       <preference id="p.showLoadSelectMenu" name="extensions.stm.showLoadSelectMenu" type="bool"/>
  59.       <preference id="p.statusbarIcon" name="extensions.stm.statusbarIcon" type="bool"/>
  60.       <preference id="p.toolMenuItem" name="extensions.stm.toolMenuItem" type="bool"/>
  61.     </preferences>
  62.  
  63.     <tabbox id="pane1.tabbox">
  64.       <tabs>
  65.         <tab label="&tab1.label;"/>
  66.         <tab label="&tab2.label;"/>
  67.         <tab label="&tab3.label;"/>
  68.       </tabs>
  69.       <tabpanels>
  70.         <tabpanel id="tabpanel1" orient="vertical">
  71.           <groupbox>
  72.             <caption label="&tab1.tabopen.caption;" class="mtitle"/>
  73.             <checkbox id="e.openURLBarInNewTab" preference="p.openURLBarInNewTab" label="&openURLBarInNewTab.label;" oncommand="stmPref.onOpenInNewTab();"/>
  74.             <checkbox id="e.openBHSInNewTab" preference="p.openBHSInNewTab" label="&openBHSInNewTab.label;" oncommand="stmPref.onOpenInNewTab();"/>
  75.             <checkbox id="e.newTabForeBack" preference="p.browser.tabs.loadBookmarksInBackground" label="&browser.tabs.loadBookmarksInBackground.label;" class="indent"/>
  76.             <checkbox id="e.openInBlankTab" preference="p.openInBlankTab" label="&openInBlankTab.label;"/>
  77.             <separator class="thin"/>
  78.     <!--menu : open link in fore or background -->
  79.             <hbox align="center">
  80.               <label value="&pagelock.loadInForeOrBackgroud.label;"/>
  81.               <menulist preference="p.loadInBackground">
  82.                 <menupopup>
  83.                   <menuitem value="false" label="&ff.loadInForeground.label;" />
  84.                   <menuitem value="true" label="&ff.loadInBackground.label;" />
  85.                 </menupopup>
  86.               </menulist>
  87.             </hbox>
  88.             <hbox align="center">
  89.               <label value="&newTabPosition.label;"/>
  90.               <menulist preference="p.newTabPosition" tooltip="newTabPosition.tooltip">
  91.                 <menupopup>
  92.                   <menuitem value="0" label="&newTabPosition.default;" />
  93.                   <menuitem value="1" label="&newTabPosition.nearRight;" />
  94.                   <menuitem value="2" label="&newTabPosition.farRight;" />
  95.                   <menuitem value="3" label="&newTabPosition.rightest;" />
  96.                 </menupopup>
  97.               </menulist>
  98.             </hbox>
  99.             <checkbox preference="p.newTabPosBackTabOnly" label="&newTabPosBackTabOnly.label;" class="indent"/>
  100.           </groupbox>
  101.  
  102.           <groupbox>
  103.             <caption label="&tab1.tabbar.caption;" class="mtitle"/>
  104.             <hbox align="center">
  105.               <label value="&tabBarPosition.label;" class="rtext"/>
  106.               <menulist preference="p.tabBarPosition">
  107.                 <menupopup>
  108.                   <menuitem value="0" label="&tabBarPosition.top;"/>
  109.                   <menuitem value="1" label="&tabBarPosition.bottom;"/>
  110.                 </menupopup>
  111.               </menulist>
  112.               <spacer flex="1"/>
  113.               <label value="&newTabBtnPos.label;" class="rtext"/>
  114.               <menulist preference="p.newTabBtnPos">
  115.                 <menupopup>
  116.                   <menuitem value="0" label="&newTabBtnPos.0;"/>
  117.                   <menuitem value="1" label="&newTabBtnPos.1;"/>
  118.                   <menuitem value="2" label="&newTabBtnPos.2;"/>
  119.                 </menupopup>
  120.               </menulist>
  121.             </hbox>
  122.             <hbox align="center">
  123.               <label value="&tabBarTabMinWidth.label;"/>
  124.               <textbox id="e.tabBarTabMinWidth" preference="p.tabBarTabMinWidth" type="number" increment="1" size="2"/>
  125.             </hbox>
  126.             <checkbox preference="p.tabBarMultiRows" label="&tabBarMultiRows.label;"/>
  127.           </groupbox>
  128.         </tabpanel>
  129.  
  130.         <tabpanel  id="tabpanel2" orient="vertical">
  131.           <groupbox>
  132.             <caption label="&tab2.tabclose.caption;" class="mtitle"/>
  133.             <checkbox preference="p.doubleClickRemoveTab" label="&doubleClickRemoveTab.label;" />
  134.             <checkbox preference="p.showCloseRightTabs" label="&showCloseRightTabs.label;" />
  135.             <checkbox preference="p.showCloseLeftTabs" label="&showCloseLeftTabs.label;" />
  136.             <checkbox preference="p.browser.tabs.closeWindowWithLastTab" label="&browser.tabs.closeWindowWithLastTab.label;"/>
  137.             <separator class="thin"/>
  138.             <grid>
  139.               <rows>
  140.                 <row align="center">
  141.                   <label value="&focusAfterCloseTab.label;" class="rtext"/>
  142.                   <menulist preference="p.focusAfterCloseTab">
  143.                     <menupopup>
  144.                       <menuitem value="0" label="&focusAfterCloseTab.0;" />
  145.                       <menuitem value="1" label="&focusAfterCloseTab.1;" />
  146.                       <menuitem value="2" label="&focusAfterCloseTab.2;" />
  147.                       <menuitem value="3" label="&focusAfterCloseTab.3;" />
  148.                       <menuitem value="4" label="&focusAfterCloseTab.4;" />
  149.                       <menuitem value="5" label="&focusAfterCloseTab.5;" />
  150.                       <menuitem value="6" label="&focusAfterCloseTab.6;" />
  151.                       <menuitem value="7" label="&focusAfterCloseTab.7;" />
  152.                       <menuitem value="8" label="&focusAfterCloseTab.8;" />
  153.                     </menupopup>
  154.                   </menulist>
  155.                 </row>
  156.                 <row align="center">
  157.                   <label value="&browser.tabs.closeButtons.label;" class="rtext"/>
  158.                   <menulist preference="p.browser.tabs.closeButtons">
  159.                     <menupopup>
  160.                       <menuitem value="0" label="&browser.tabs.closeButtons0;" />
  161.                       <menuitem value="1" label="&browser.tabs.closeButtons1;" />
  162.                       <menuitem value="2" label="&browser.tabs.closeButtons2;" />
  163.                       <menuitem value="3" label="&browser.tabs.closeButtons3;" />
  164.                     </menupopup>
  165.                   </menulist>
  166.                 </row>
  167.               </rows>
  168.             </grid>
  169.           </groupbox>
  170.   <!-- Recnetly Closed Tabs -->
  171.           <groupbox>
  172.             <caption label="&history.caption.label;" class="mtitle"/>
  173.             <hbox align="center">
  174.               <checkbox preference="p.showHistoryMenu" label="&history.topmenu.label;"/>
  175.               <label value="&history.maxtabs.label;" flex="1" class="rtext"/>
  176.               <textbox preference="p.historyMenuEntries" type="number" increment="1" size="2"/>
  177.             </hbox>
  178.             <hbox align="center">
  179.               <label value="&history.button.label;"/>
  180.               <menulist preference="p.historyButtonShape">
  181.                 <menupopup>
  182.                   <menuitem value="0" label="&history.buttonShape.0;" />
  183.                   <menuitem value="1" label="&history.buttonShape.1;" />
  184.                 </menupopup>
  185.               </menulist>
  186.               <button label="&history.button;" oncommand="stmPref.toggleButton('stm-historybutton');"/>
  187.             </hbox>
  188.           </groupbox>
  189.         </tabpanel>
  190.  
  191.         <tabpanel  id="tabpanel3" orient="vertical">
  192.   <!--ff : window start -->
  193.           <groupbox>
  194.             <caption label="&newwindow.caption;" class="mtitle"/>
  195.             <grid>
  196.               <rows>
  197.                 <row align="center">
  198.                   <label value="&browser.link.open_newwindow.label;" class="rtext"/>
  199.                   <menulist preference="p.browser.link.open_newwindow">
  200.                     <menupopup>
  201.                       <menuitem value="1" label="&browser.link.open_newwindow1;" />
  202.                       <menuitem value="2" label="&browser.link.open_newwindow2;" />
  203.                       <menuitem value="3" label="&browser.link.open_newwindow3;" />
  204.                     </menupopup>
  205.                   </menulist>
  206.                 </row>
  207.                 <row align="center">
  208.                   <label value="&browser.link.open_newwindow.restriction.label;" class="rtext" />
  209.                   <menulist preference="p.browser.link.open_newwindow.restriction">
  210.                     <menupopup>
  211.                       <menuitem value="0" label="&browser.link.open_newwindow.restriction0;" />
  212.                       <menuitem value="1" label="&browser.link.open_newwindow.restriction1;" />
  213.                       <menuitem value="2" label="&browser.link.open_newwindow.restriction2;" />
  214.                     </menupopup>
  215.                   </menulist>
  216.                 </row>
  217.                 <row align="center">
  218.                   <label value="&browser.tabs.loadDivertedInBackground.label;" class="rtext"/>
  219.                   <menulist preference="p.browser.tabs.loadDivertedInBackground">
  220.                     <menupopup>
  221.                       <menuitem value="true" label="&browser.tabs.loadDivertedInBackground.true;" />
  222.                       <menuitem value="false" label="&browser.tabs.loadDivertedInBackground.false;" />
  223.                     </menupopup>
  224.                   </menulist>
  225.                 </row>
  226.               </rows>
  227.             </grid>
  228.           </groupbox>
  229.   <!--ff : window end -->
  230.           <groupbox>
  231.             <caption label="&urlbar.caption;" class="mtitle"/>
  232.             <grid>
  233.             <rows>
  234.             <row align="center">
  235.               <label value="&urlbarListFontSize.label;" class="rtext"/>
  236.               <menulist preference="p.urlbarListFontSize">
  237.                 <menupopup>
  238.                   <menuitem value="0" label="&urlbarListFontSize.default;" />
  239.                   <menuitem value="1" label="1" />
  240.                   <menuitem value="2" label="2" />
  241.                   <menuitem value="3" label="3" />
  242.                   <menuitem value="4" label="4" />
  243.                   <menuitem value="5" label="5" />
  244.                   <menuitem value="6" label="6" />
  245.                   <menuitem value="7" label="7" />
  246.                 </menupopup>
  247.               </menulist>
  248.               </row>
  249.               <row align="center">
  250.               <label value="&browser.urlbar.maxRichResults.label;" class="rtext"/>
  251.               <textbox preference="p.browser.urlbar.maxRichResults" type="number" min="-1" size="1"/>
  252.             </row>
  253.             </rows>
  254.             </grid>
  255.           </groupbox>
  256.           <separator class="thin"/>
  257.           <checkbox preference="p.showLoadSelectMenu" label="&showLoadSelectMenu.label;"/>
  258.         </tabpanel>
  259.       </tabpanels>
  260.     </tabbox>
  261.  
  262.     <separator class="thin"/>
  263.     <hbox>
  264.       <checkbox preference="p.statusbarIcon" label="&statusbarIcon.label;"/>
  265.       <checkbox preference="p.toolMenuItem" label="&toolMenuItem.label;"/>
  266.     </hbox>
  267.     <separator/>
  268.     <separator/>
  269.     <separator/>
  270. <!-- tooltips -->
  271.         <popupset>
  272.             <tooltip id="newTabPosition.tooltip" noautohide="true">
  273.                 <description value="&newTabPosition.tooltip1;"/>
  274.                 <description value="&newTabPosition.tooltip2;"/>
  275.             </tooltip>
  276.         </popupset>
  277.   </prefpane>
  278.   <prefpane id="pane2"
  279.             label="&pane2.title;"
  280.             image="chrome://supertabmode/skin/pref24_2.png">
  281.     <preferences>
  282.       <preference id="p.pagelock.enable" name="extensions.stm.pagelock.enable" type="bool"/>
  283.       <preference id="p.pagelock.hotkey" name="extensions.stm.pagelock.mousekey" type="int"/>
  284.       <preference id="p.loadInBackground" name="browser.tabs.loadInBackground" type="bool"/>
  285.       <preference id="p.pagelock.enableTabColor" name="extensions.stm.pagelock.enableTabColor" type="bool"/>
  286.       <preference id="p.pagelock.tabColor" name="extensions.stm.pagelock.tabColor" type="string"/>
  287.       <preference id="p.pagelock.enableTabTxtColor" name="extensions.stm.pagelock.enableTabTxtColor" type="bool"/>
  288.       <preference id="p.pagelock.tabTxtColor" name="extensions.stm.pagelock.tabTxtColor" type="string"/>
  289.       <preference id="p.pagelock.showTabMenu" name="extensions.stm.pagelock.showTabMenu" type="bool"/>
  290.       <preference id="p.pagelock.showStatusbarMenu" name="extensions.stm.pagelock.showStatusbarMenu" type="bool"/>
  291.     </preferences>
  292.     <groupbox>
  293.       <caption>
  294. <!--checkbox : pagelock enable -->
  295.         <checkbox id="e.pagelock.enable" label="&pagelock.enable.label;" preference="p.pagelock.enable" oncommand="stmPref.onPagelockEnable(this);" class="mtitle"/>
  296.       </caption>
  297.       <vbox class="indent">
  298.         <groupbox>
  299.           <caption label="&shortcuts.caption;" class="stitle"/>
  300.           <grid>
  301.             <rows>
  302. <!--menu : hotkey to toggle pagelock -->
  303.               <row align="center">
  304.                 <label value="&shortcuts.PLkeyboard.label;" observes="b.pagelock.enable" class="rtext"/>
  305.                 <label id="e.pagelock.hotkey" observes="b.pagelock.enable" class="ctext" />
  306.                 <hbox>
  307.                   <button label="&shortcuts.PLkeyboard.button;" oncommand="stmPref.changeHotkey('e.pagelock.hotkey');" observes="b.pagelock.enable"/>
  308.                   <spacer flex="1"/>
  309.                 </hbox>
  310.               </row>
  311.               <row align="center">
  312.                 <label value="&shortcuts.mouse.label;" observes="b.pagelock.enable" class="rtext"/>
  313.                 <menulist preference="p.pagelock.hotkey" observes="b.pagelock.enable" class="ctext">
  314.                   <menupopup>
  315.                     <menuitem value="0" label="&shortcuts.mouse.ctrl.lable;" />
  316.                     <menuitem value="1" label="&shortcuts.mouse.shift.lable;" />
  317.                   </menupopup>
  318.                 </menulist>
  319.                 <label value="&shortcuts.mouse.label2;" observes="b.pagelock.enable" class="ctext"/>
  320.               </row>
  321.             </rows>
  322.           </grid>
  323.         </groupbox>
  324.         <groupbox>
  325.           <caption label="&tabcolor.caption;" class="stitle"/>
  326.           <grid>
  327.             <columns>
  328. <!--checkbox : tab color label-->
  329.               <column>
  330.                 <checkbox id="e.pagelock.enableTabColor" label="&pagelock.enableTabColor.label;" preference="p.pagelock.enableTabColor" observes="b.pagelock.enable" oncommand="stmPref.onPLEnableTabColor(this);"/>
  331.                 <checkbox id="e.pagelock.enableTabTxtColor" label="&pagelock.enableTabTxtColor.label;" preference="p.pagelock.enableTabTxtColor" observes="b.pagelock.enable" oncommand="stmPref.onPLEnableTabTxtColor(this);"/>
  332.               </column>
  333. <!--checkbox : enable tab color -->
  334.               <column>
  335.                 <colorpicker type="button" id="e.pagelock.tabColor" preference="p.pagelock.tabColor" />
  336.                 <colorpicker type="button" id="e.pagelock.tabTxtColor" preference="p.pagelock.tabTxtColor" />
  337.               </column>
  338.             </columns>
  339.           </grid>
  340.         </groupbox>
  341. <!--checkbox : add Tab Menu -->
  342.         <groupbox>
  343.           <caption label="&MenuAndBar.caption;" class="stitle"/>
  344.           <rows>
  345.             <row>
  346.               <checkbox label="&pagelock.showTabMenu.label;" preference="p.pagelock.showTabMenu" observes="b.pagelock.enable"/>
  347.               <checkbox label="&pagelock.showStatusbarMenu.label;" preference="p.pagelock.showStatusbarMenu" observes="b.pagelock.enable"/>
  348.             </row>
  349.           </rows>
  350. <!--button : toggle toolbar button -->
  351.           <grid>
  352.             <rows>
  353.               <row align="center">
  354.                 <label value="&pagelock.toggleToolbarButton.label;" observes="b.pagelock.enable" />
  355.                 <button label="&pagelock.toggleToolbarButton;" oncommand="stmPref.toggleButton('stm-togglebutton');" observes="b.pagelock.enable"/>
  356.               </row>
  357.             </rows>
  358.           </grid>
  359.         </groupbox>
  360. <!--button : pagelock list manager -->
  361.         <row align="center">
  362.           <label value="&pagelock.listManager.label;" observes="b.pagelock.enable" />
  363.           <button label="&pagelock.listManager;" oncommand="stmC.openListManager();" observes="b.pagelock.enable"/>
  364.         </row>
  365.       </vbox>
  366.     </groupbox>
  367.     <separator/>
  368.     <separator/>
  369.   </prefpane>
  370.  
  371.   <prefpane id="pane3"
  372.             label="&pane3.title;"
  373.             image="chrome://supertabmode/skin/pref24_3.png">
  374.     <preferences>
  375.       <preference id="p.block.enable" name="extensions.stm.block.enable" type="bool"/>
  376.       <preference id="p.block.blockScope" name="extensions.stm.block.blockScope" type="int"/>
  377.       <preference id="p.block.stopOnTabSwitch" name="extensions.stm.block.stopOnTabSwitch" type="bool"/>
  378.       <preference id="p.block.showTabMenu" name="extensions.stm.block.showTabMenu" type="bool"/>
  379.       <preference id="p.block.showStatusbarMenu" name="extensions.stm.block.showStatusbarMenu" type="bool"/>
  380.       <preference id="p.bosskey.enable" name="extensions.stm.bosskey.enable" type="bool"/>
  381.       <preference id="p.bosskey.minimizeToTray" name="extensions.stm.bosskey.minimizeToTray" type="bool"/>
  382.       <preference id="p.bosskey.minimizeAllToTray" name="extensions.stm.minimizeAllToTray" type="bool"/>
  383.     </preferences>
  384.     <groupbox>
  385.       <caption>
  386. <!--checkbox : block enable -->
  387.         <checkbox id="e.block.enable" label="&block.enable.label;" preference="p.block.enable" oncommand="stmPref.onBlockEnable(this);" class="mtitle"/>
  388.       </caption>
  389.       <label value="&block.description;" class="bluetext"/>
  390.       <vbox class="indent">
  391.         <row align="center">
  392.           <label value="&block.blockScope.label;" observes="b.block.enable"/>
  393.           <menulist preference="p.block.blockScope"  observes="b.block.enable" tooltip="blockScope.tooltip">
  394.             <menupopup>
  395.               <menuitem value="0" label="&block.blockScope.0;" />
  396.               <menuitem value="1" label="&block.blockScope.1;" />
  397.               <menuitem value="2" label="&block.blockScope.2;" />
  398.             </menupopup>
  399.           </menulist>
  400.         </row>
  401.         <groupbox>
  402.           <caption label="&block.toggleblock.caption;" class="stitle"/>
  403.           <grid>
  404.             <rows>
  405. <!--menu : hotkey to toggle block -->
  406.               <row align="center">
  407.                 <label value="&block.keyboard;" observes="b.block.enable" class="rtext"/>
  408.                 <hbox align="center">
  409.                   <label id="e.block.hotkey" observes="b.block.enable" class="ctext" />
  410.                   <button label="&block.keyboard.button;" oncommand="stmPref.changeHotkey('e.block.hotkey');" observes="b.block.enable"/>
  411.                 </hbox>
  412.               </row>
  413.               <row>
  414.                 <label value="&block.mousekey.label;" observes="b.block.enable"  class="rtext"/>
  415.                 <label value="&block.mousekey;" observes="b.block.enable" class="ctext" />
  416.               </row>
  417.             </rows>
  418.           </grid>
  419.           <separator class="thin"/>
  420.           <row>
  421.             <checkbox id="e.block.stopOnTabSwitch" label="&block.stopOnTabSwitch;" preference="p.block.stopOnTabSwitch" observes="b.block.enable"/>
  422.           </row>
  423.         </groupbox>
  424. <!--menu : showTabMenu showStatusbarMenu -->
  425.         <row>
  426.           <checkbox id="e.block.showTabMenu" label="&block.showTabMenu.label;" preference="p.block.showTabMenu" observes="b.block.enable"/>
  427.           <checkbox id="e.block.showStatusbarMenu" label="&block.showStatusbarMenu.label;" preference="p.block.showStatusbarMenu" observes="b.block.enable"/>
  428.         </row>
  429.       </vbox>
  430.     </groupbox>
  431.  
  432. <!--bosskey -->
  433.     <groupbox>
  434.       <caption>
  435.         <checkbox id="e.bosskey.enable" label="&bosskey.enable.label;" tooltip="bosskey.tooltip" preference="p.bosskey.enable" oncommand="stmPref.onBosskeyEnable(this);" class="mtitle"/>
  436.       </caption>
  437.       <vbox class="indent">
  438.         <grid>
  439.           <rows>
  440.             <row align="center">
  441.               <label value="&bosskey.hidekey.label;" observes="b.bosskey.enable" class="rtext"/>
  442.               <hbox align="center">
  443.                 <label id="e.bosskey.hidekey" observes="b.bosskey.enable" class="ctext" />
  444.                 <spacer flex="1"/>
  445.                 <button label="&bosskey.hidekey.button.label;" oncommand="stmPref.changeHotkey('e.bosskey.hidekey');" observes="b.bosskey.enable"/>
  446.               </hbox>
  447.             </row>
  448.             <row align="center">
  449.               <label value="&bosskey.showkey.label;" observes="b.bosskey.enable" class="rtext"/>
  450.               <hbox align="center">
  451.                 <label id="e.bosskey.showkey" observes="b.bosskey.enable" class="ctext" />
  452.                 <spacer flex="1"/>
  453.                 <button label="&bosskey.showkey.button.label;" oncommand="stmPref.changeHotkey('e.bosskey.showkey');" observes="b.bosskey.enable"/>
  454.               </hbox>
  455.             </row>
  456.           </rows>
  457.         </grid>
  458.         <separator class="thin"/>
  459.         <row>
  460.           <checkbox id="e.bosskey.minimizeToTray" label="&bosskey.minimizeToTray.label;" preference="p.bosskey.minimizeToTray" observes="b.bosskey.enable"/>
  461.         </row>
  462.       </vbox>
  463.     </groupbox>
  464.     <checkbox label="&minimizeAllToTray.label;" preference="p.bosskey.minimizeAllToTray" />
  465.     <separator class="thin"/>
  466.     <separator/>
  467.     <separator/>
  468.  
  469. <!-- tooltips -->
  470.         <popupset>
  471.             <tooltip id="blockScope.tooltip" noautohide="true">
  472.                 <description value="&block.blockScope.tooltip1;"/>
  473.                 <description value="&block.blockScope.tooltip2;"/>
  474.             </tooltip>
  475.             <tooltip id="bosskey.tooltip" noautohide="true">
  476.                 <description value="&bosskey.description;"/>
  477.             </tooltip>
  478.         </popupset>
  479.   </prefpane>
  480.   <prefpane id="pane4"
  481.             label="&pane4.title;"
  482.             image="chrome://supertabmode/skin/pref24_4.png">
  483.     <preferences>
  484.       <preference id="p.browser.cache.disk.enable" name="browser.cache.disk.enable" type="bool"/>
  485.       <preference id="p.browser.cache.disk.capacity" name="browser.cache.disk.capacity" type="int"/>
  486.       <preference id="p.browser.cache.memory.enable" name="browser.cache.memory.enable" type="bool"/>
  487.       <preference id="p.browser.cache.offline.enable" name="browser.cache.offline.enable" type="bool"/>
  488.       <preference id="p.browser.cache.offline.capacity" name="browser.cache.offline.capacity" type="int"/>
  489.     </preferences>
  490.  
  491. <!--ff : cache start -->
  492.     <groupbox>
  493.       <caption label="&ff.cache.caption;" class="mtitle"/>
  494.       <grid>
  495.         <rows>
  496.           <row align="center">
  497.             <checkbox preference="p.browser.cache.disk.enable" label="&browser.cache.disk.enable.label;" oncommand="stmPref.onCacheDiskEnable(this);" />
  498.             <label value="&browser.cache.disk.capacity.label;" />
  499.             <textbox preference="p.browser.cache.disk.capacity" type="number" increment="1000" size="6"/>
  500.           </row>
  501.           <hbox align="center">
  502.             <button label="&diskcache.path.label;" type="menu" observes="b.cachedisk.enable" style="min-width:2px; max-height:1px;">
  503.               <menupopup>
  504.                 <menuitem label="&diskcache.path.set;" oncommand="stmPref.setUserCacheDir('diskcache.pos', 'hidden.hbox');"/>
  505.                 <menuitem label="&diskcache.path.default;" oncommand="stmPref.setDefaultCacheDir('diskcache.pos', 'hidden.hbox');"/>
  506.               </menupopup>
  507.             </button>
  508.             <label id="diskcache.pos" flex="1" crop="center" observes="b.cachedisk.enable" class="bluetext"/>
  509.           </hbox>
  510.           <hbox id="hidden.hbox" align="center" hidden="true" style="background-color:rgb(255,255,225);">
  511.               <description value="&diskcache.restart.label;" flex="1"/>
  512.               <button label="&diskcache.restart.button;" oncommand="stmPref.restartApp();"/>
  513.               <button oncommand="stmPref.hideRestart('hidden.hbox');" class="messageCloseButton" style="min-width:2px;background-color:rgb(255,255,225);"/>
  514.           </hbox>
  515.           <row>
  516.             <checkbox preference="p.browser.cache.memory.enable" label="&browser.cache.memory.enable.label;"/>
  517.           </row>
  518.           <row align="center">
  519.             <checkbox preference="p.browser.cache.offline.enable" label="&browser.cache.offline.enable.label;"/>
  520.             <label value="&browser.cache.offline.capacity.label;" />
  521.             <textbox preference="p.browser.cache.offline.capacity" type="number" increment="1000" size="6"/>
  522.           </row>
  523.         </rows>
  524.       </grid>
  525.     </groupbox>
  526.     <separator/>
  527.     <separator/>
  528.  
  529. <!--ff : cache end -->
  530.   </prefpane>
  531. </prefwindow>
  532.  
  533.  
  534.  
  535.